rust plugin doesn't check if the Cargo.toml file exists
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
Our rust plugin uses cargo to build the snap. Before checking if the Cargo.toml file, it downloads rust, and then it fails with:
error: could not find `Cargo.toml` in `/home/ubuntu/workspace/canonical/snapcraft/integration_tests/snaps/rust-subdir/parts/rust-subdir/build` or any parent directory
Before downloading anything, the plugin should make sure that the cargo file exists, to fail early if it doesn't.
Evaluation history
No evaluation history available.